<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    @font-face {
      font-family: font1;
      src: url(./font/iconfont.ttf);
    }

    div {
      font-family: font1;
    }
  </style>
</head>
<body>
  <div>
    hello &#xe61d; &#xe604;
  </div>
</body>

</html>